﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using LogisticsDAL;
using System.Data.SqlClient;
using System.Data;

namespace LogisticsBLL
{
    public class LogBLL
    {
        /// <summary>
        /// 登录，获取账号密码
        /// </summary>
        /// <param name="counts"></param>
        /// <param name="pwd"></param>
        /// <returns></returns>
        //public static Model.Users logs(string counts,string pwd)
        //{
        //    return LogisticsDAL.LogDAL.loguser(counts,pwd);
        //}

        public static SqlDataReader logs(string counts, string pwd)
        {
            return LogisticsDAL.LogDAL.loguser(counts, pwd);
        }

        /// <summary>
        /// User页面，绑定Gridview
        /// </summary>
        /// <returns></returns>
        public static SqlDataReader Gvlisty()
        {
            return LogDAL.Gvlist();
        }

        /// <summary>
        /// 查询
        /// </summary>
        /// <param name="wherelist"></param>
        /// <param name="pramlist"></param>
        /// <returns></returns>
       

        public static SqlDataReader ddrole()
        {
            return LogDAL.ddrole();
        }
    }
}
